{% extends "base.html" %}
{% comment %}
  $Id$
{% endcomment %}

{% block content %}
 {% block ad_create_status %}
   <h1>Post Ad</h1>
   <ol class="progress">
    <li class="selected">1 | Select</li>
    <li>2 | Post</li>
    <li>3 | Review</li>
    <li>4 | Checkout</li>
   </ol>
   <p><strong>Step 1 :</strong> Please Select an Ad Category</p>
 {% endblock %}

<ul class="category-list">
{% for category in categories %}
 {% ifequal type "search" %}
 <li style="margin-bottom: 20px;"><span style="float: right; width: 263px;">{{ category.description }}</span><a class="button" style="margin-top: 0px; width: 200px;" href="{% url adposting.views.search_in_category category.pk %}">{{ category.name }}</a></li>
 {% endifequal %}
 {% ifequal type "create" %}
 <li style="margin-bottom: 20px;"><span style="float: right; width: 263px;">{{ category.description }}</span><a class="button" style="margin-top: 0px; width: 200px;" href="{% url adposting.views.create_in_category category.pk %}">{{ category.name }}</a></li>
 {% endifequal %}
{% endfor %}
{% endblock %}
